// require('../utils/ArrayUtil')
// import {clearAndPushAll} from "../utils/ArrayUtil";

function getBoundObject(func) {
    return func._bound || null; // _bound属性存储了绑定的对象
}

// 示例
const obj = {};
const boundFunc = function() {}
boundFunc.call(obj);
console.log("boundObj",getBoundObject(boundFunc)); // 输出：{ }


let fdfd = "";
let aa={sss:"ssss"}
aa.someFunc = function (input){
    return this.sss ===input;
}

// aa.someFunc("sdfsdf");



let bbb = ["bbb","sfa","ssss"];


function any(arr, item, filterFunc) {
    if(!arr instanceof Array){
        return false;
    }

    filterFunc("sdfs");

    return arr.filter(function(ele){
        // return filterFunc.call(item,ele);
         filterFunc(ele);
    }).length>0;
}


let result= any(bbb,aa,aa.someFunc);

console.log()
